<template>
  <a-config-provider :locale="zhCN">
    <router-view v-slot="{ Component }">
      <component :is="Component" />
    </router-view>
  </a-config-provider>
</template>

<script lang="ts">
import { defineComponent } from 'vue';
import zhCN from 'ant-design-vue/es/locale/zh_CN';
import moment from 'moment';
import 'moment/dist/locale/zh-cn';
import { AppDeviceEnquire } from '@/hooks/use-device';
moment.locale('zh_cn');

export default defineComponent({
  name: 'App',
  mixins: [AppDeviceEnquire],
  setup() {
    return {
      zhCN
    };
  }
});
</script>

<style lang="less">
@import '@/styles/global.less';
@import '@/styles/common.less';
@import '@/styles/override.less';

.ant-table-wrapper {
  overflow: auto;
}
.slide-up-enter-active,
.slide-up-leave-active {
  transition: transform 0.35s ease-in;
}

.slide-up-enter-form,
.slide-up-leave-to {
  transform: translateY(-100%);
}

.hideSelect {
  display: none !important;
}
// .ant-menu-submenu-arrow {
//   color: #fff !important;
// }
</style>
